package com.zy.cat.entity.dev.resp;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @info 9趣猫用户订单详细信息实体类
 * @author Link
 * @date 2019-10-30 09:14
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel("9趣猫用户订单详细信息实体类")
public class CatDevOrderResp {

	@ApiModelProperty(value = "子订单号", example = "1024102458435843")
	private String oid;
	
	@ApiModelProperty(value = "父订单号", example = "1024102458435843")
	private String foid;
	
	@ApiModelProperty(value = "商品名称", example = "2443102410585843")
	private String sname;
	
	@ApiModelProperty(value = "商品ID", example = "2410585843")
	private String sid;
	
	@ApiModelProperty(value = "商品图片", example = "https://")
	private String sicon;

	@ApiModelProperty(value = "用户账号ID", example = "9a0975cda1e461e23fe53d6a4fa29641")
	private String pid;

	@ApiModelProperty(value = "订单状态，（-1：已失效、0：入帐中 、1.已收货、2.已入账、10.全部）", example = "0")
	private int dstatus;
	
	@ApiModelProperty(value = "订单类型，（0：手动填单、1：自动填单、10.全部）", example = "1")
	private int dtype;
	
	@ApiModelProperty(value = "预计收入（分）", example = "100")
	private long yincome;
	
	@ApiModelProperty(value = "实际收入（分）", example = "100")
	private long sincome;
	
	@ApiModelProperty(value = "付款金额", example = "10")
	private String fmoney;
	
	@ApiModelProperty(value = "订单返利是否进行分享，（0：未分享 、1.已分享）", example = "1")
	private int pstatus;
 
	@ApiModelProperty(value = "填单时间", example = "2019-02-22 12:56:56")
	private String ttime;

	@ApiModelProperty(value = "订单创建时间", example = "2019-02-22 12:56:56")
	private String ctime;
	
	@ApiModelProperty(value = "订单最后更新时间", example = "2019-02-22 12:56:56")
	private String ltime;
	
	@ApiModelProperty(value = "备注", example = "-")
	private String info = "无";
	
	@ApiModelProperty(value = "订单类型（0.淘宝、1.拼多多、2.京东）", example = "0")
	private int otype;

	public CatDevOrderResp(String pid, int dstatus,int otype) {
		super();
		this.pid = pid;
		this.dstatus = dstatus;
		this.otype = otype;
	}

	public CatDevOrderResp(String oid) {
		super();
		this.oid = oid;
	}
	
}
